﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace My_TV_Manager.View.MenuBar
{
    [System.ComponentModel.DesignerCategory("")]

    public abstract class TabbedMenuBar : Panel
    {
        #region Protected Data

        protected List<Button> buttons;
        protected int selected;

        #endregion

        #region Properties

        public int SelectedOption { get { return selected; } }
        public abstract Size ContainerSize
        {
            get;
            set;
        }

        #endregion

        #region Constructors

        public TabbedMenuBar(Size size)
        {
            this.AutoSize = false;
            this.Size = size;
            this.Dock = DockStyle.None;
            this.BackColor = Color.White;

            buttons = new List<Button>();
        }

        #endregion

        #region Functions

        protected abstract void MenuOptionClick(object sender, EventArgs e);

        #endregion
    }
}
